<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
<script>
	var txt = "hello 1234567890 byebye";
	var regex =  new RegExp("aaa");
	var output = regex.test(txt)
	document.write('正则的返回值：' + output)
</script>
</body>
</html>